package com.saycode.back.articleType.service;


import com.saycode.back.article.service.ArticleService;
import com.saycode.common.Constant;
import com.saycode.common.MethodUtil;
import com.saycode.common.beans.Article;
import com.saycode.common.beans.ContentType;
import com.saycode.common.beans.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Page;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.Date;
import java.util.List;

/**
 * Created by zhangyanhui on 2017/6/14.
 */
public interface ContentTypeService {
    List<ContentType> findAll();
    void save(String contentType);
    void delete(Long id);
}
